package com.zhihuanbao.business.domain;

import com.zhihuanbao.common.annotation.Excel;
import com.zhihuanbao.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 企业联系人对象 biz_enterprise_contacts
 * 
 * @author zhihuanbao
 * @date 2024-06-06
 */
public class BizEnterpriseContacts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账号ID（主键，自增） */
    private Long accountId;

    /** 联系人姓名（必填） */
    @Excel(name = "联系人姓名", readConverterExp = "必=填")
    private String contactPerson;

    /** 联系人账号（必填） */
    @Excel(name = "联系人账号", readConverterExp = "必=填")
    private String contactUser;

    /** 邮箱地址（必填，唯一） */
    @Excel(name = "邮箱地址", readConverterExp = "必=填，唯一")
    private String email;

    /** 手机号（可选） */
    @Excel(name = "手机号", readConverterExp = "可=选")
    private String phoneNumber;

    /** 职位（可选） */
    @Excel(name = "职位", readConverterExp = "可=选")
    private String position;

    /** 所属企业 */
    @Excel(name = "所属企业")
    private Long enterpriseId;

    /** 所属部门名称（可选） */
    @Excel(name = "所属部门名称", readConverterExp = "可=选")
    private String departmentName;

    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setEnterpriseId(Long enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId() 
    {
        return enterpriseId;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }

    public String getContactUser() {
        return contactUser;
    }

    public void setContactUser(String contactUser) {
        this.contactUser = contactUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("accountId", getAccountId())
            .append("contactPerson", getContactPerson())
            .append("email", getEmail())
            .append("phoneNumber", getPhoneNumber())
            .append("position", getPosition())
            .append("enterpriseId", getEnterpriseId())
                .append("contactUser", getEnterpriseId())
            .append("departmentName", getDepartmentName())
            .toString();
    }
}
